import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/driver-user/list',
    method: 'get',
    params: query
  })
}


export function createOrUpdateDriverUser(data) {
  return request({
    url: '/driver-user',
    method: 'post',
    data
  })
}

export function getDicDistrict(){
  return request({
    url:'/district',
    method: 'get'
  })
}

